package com.dz.lm.dao.compuser.read;

import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.ReaderRepository;
import com.dz.lm.domain.compuser.CompUser;
import com.dz.lm.domain.compuser.CompUserExample;

import java.util.List;

@ReaderRepository("readCompUserDao")
public interface CompUserDao {

    List<CompUser> selectByExample(CompUserExample example)throws DaoException;

    CompUser selectByPrimaryKey(Integer pId)throws DaoException;

    CompUser selectByUserId(Integer userId)throws DaoException;
}
